package com.fuxin.app.error;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author fuxin
 * @date 2019/2/28 20:03
 * @description
 */
@Data
@NoArgsConstructor
public class ExceptionEntity implements Serializable {

	private String message;
	private int code;
	private String error;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date timestamp = new Date();

	private String path;


}
